package com.dhcc.bpm.alarm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dhcc.bpm.alarm.entity.AlarmRecordDay;
import com.dhcc.bpm.alarm.mapper.AlarmRecordDayMapper;
import com.dhcc.bpm.alarm.service.IAlarmRecordDayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AlarmRecordDayServiceImpl extends ServiceImpl<AlarmRecordDayMapper, AlarmRecordDay> implements IAlarmRecordDayService {
	
	@Autowired
	AlarmRecordDayMapper alarmRecordDayMapper;
	
	@Override
	public List<AlarmRecordDay> findListByDays(AlarmRecordDay alarmRecordDay) {
		return alarmRecordDayMapper.findListByDays(alarmRecordDay);
	}

	@Override
	public int insertDayBatch(List<AlarmRecordDay> insertList) {
		return alarmRecordDayMapper.insertDayBatch(insertList);
	}

}
